<%@ include file="/general/taglibs.jsp" %>
<%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes.tld"%>
<stripes:layout-render name="/general/standard.jsp" title="Create a new Template">
    <stripes:layout-component name="contents">

        <table style="vertical-align: top;">
        <tr>
        <td style="width: 25%; vertical-align: top;">
        <!-- Somewhat contrived example of using the errors tag 'action' attribute. -->

        <stripes:form action="/actions/template/Template.action" focus="name">

            <table>
                <tr>
                    <td>Nume:</td>
                    <td><stripes:text name="name"/></td>
                </tr>
                <tr>
                    <td>Fisier:</td>
                    <td><stripes:file name="vmFile"/></td>
                </tr>
                <tr>
                    <td colspan="2">
                        <stripes:submit name="create" value="Add"/>
                        <stripes:submit name="cancel" value="Cancel"/>
                    </td>
                </tr>

            </table>
        </stripes:form>
    </stripes:layout-component>
</stripes:layout-render>

